<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="java.io.*,java.util.*,com.tagfree.util.*,org.w3c.tidy.*,org.w3c.dom.*" %>
<%-- 
    JSP Name : nt_100_02.jsp
    Description : 공지상세
    author Eung Joo
    since 2012. 7. 5.
    version 1.0
    Modification Information
       since          author              description
    ===========    =============    ===========================
    2012. 7. 5.     Eung Joo         최초 생성
--%>
<%@ include file="/WEB-INF/jsp/co/mn/include/declare.jspf" %>
<%@ include file="/WEB-INF/jsp/co/mn/include/session.jspf" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/WEB-INF/jsp/co/mn/include/header.jspf" %>
<script type="text/javascript" src="/dextuploadfl/DEXTUploadFL.js"></script>
<script type="text/javaScript" language="javascript">
<!--
$(document).ready(function() {    
    /* form validation check */
    onloadCharCheck();
    
    /* List Page 이동 */
    $("#listButn").bind("click", moveListPage);
    /* Form Submit */
    $("#mdfyButn").bind("click", mdfySubm);
});

/*
 * 리스트페이지 이동
 */
function moveListPage() {
    $("#mainForm").attr('action','/nt_100_01.do').submit();
}
  
/*
 * 수정 페이지로 이동
 */
function mdfySubm() {
    $("#mainForm").attr('action','/nt_100_03.do').submit();
}
//-->
</script>
</head>  
<body>
<div id="wrap">
    <!-- top -->
    <%@ include file="/WEB-INF/jsp/co/mn/include/top.jsp" %>
    <!-- top -->

    <!-- container -->
    <div id="container">
        <!-- LNB -->
        <%@ include file="/WEB-INF/jsp/co/mn/include/left.jsp" %>
        <!-- LNB -->
        
        <div id="contents">
            
            <!-- location -->
            <%@ include file="/WEB-INF/jsp/co/mn/include/location.jsp" %>
            <!-- location -->
            
            <form id="mainForm" name="mainForm" method="post">
                <input type="hidden" id="currentPageNo" name="currentPageNo" value="${rqInfo.currentPageNo }" />
                <input type="hidden" id="srchScn" name="srchScn" value="${rqInfo.srchScn }" />
                <input type="hidden" id="srchTxt" name="srchTxt" value="${rqInfo.srchTxt }" />
                
                <input type="hidden" id="blbIdx" name="blbIdx" value="${result.blbIdx }" />
            <table border="1" class="modTable" summary="공지&#47;이벤트 관리 표">
                <col width="25%" />
                <col width="25%" />
                <col width="25%" /> 
                <col width="25%" />
                <tbody>
                    <tr>
                        <th>구분</th>
                        <td>${result.regnSchCd }</td>
                        <td class="subThead">조회수</td>
                        <td>${result.iqNo }</td>
                    </tr>
                    <tr>
                        <th>등록일</th>
                        <td>${result.rgstDt }</td>
                        <td class="subThead">정열순서</td>
                        <td>
                        	<c:if test="${result.sortNum < 1 }">우선노출</c:if>
                        	<c:if test="${result.sortNum ==1 }">일반노출</c:if>
                        </td>
                    </tr>
                    <tr>
                        <th>제목</th>
                        <td colspan="3">${result.titl }</td>
                    </tr>
                    <tr>
                        <th>내용</th>
                        <td colspan="3" class="viewTdata">
                            ${result.sbc }
                        </td>
                    </tr>
                    <tr>
                        <th>첨부파일</th>
                        <td colspan="3"><a href="#" onclick="getUpFileDownload('0050','${result.blbIdx}');return false;">${result.filNm }</a></td>
                    </tr>
                </tbody>
            </table>
            </form>
            <div class="btnBoard">
                <span class="reverse">
                    <input type="submit" id="mdfyButn" name="mdfyButn" title="수정" value="수정" />
                    <input type="submit" id="listButn" name="listButn" title="목록" value="목록" />
                </span>
            </div>
        </div>
    </div>
    <!-- /container -->

    <!-- footer -->
    <%@ include file="/WEB-INF/jsp/co/mn/include/bottom.jsp" %>
    <!-- /footer -->
</div>
</body>
</html>